import axios from '@/utils/http';
import base from './base';
import qs from 'qs';

const project = {
    findProjects() {
        return axios.post(base.baseURL + '/findProjects');
    },
    updateProjects(params) {
        return axios.post(base.baseURL + '/updateProject',qs.stringify(params));
    },
    insertProject(params) {
        return axios.post(base.baseURL + '/insertProject',qs.stringify(params));
    }
  // sendRequest(params) {
  //     return axios.post(base.baseURL + '/', params);
  // },
}

export default project;
